home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / inet / internet-drafts / draft-ietf-snmpv2-tm-06.txt < prev    next >
Text File  |  1993-03-03  |  42KB  |  1,417 lines

  1.  
  2.  
  3.  
  4.  
  5.           Draft           Transport Mappings for SNMPv2           Jan 93
  6.  
  7.  
  8.                                 Transport Mappings
  9.                                for version 2 of the
  10.                    Simple Network Management Protocol (SNMPv2)
  11.  
  12.                              Tue Jan 26 15:33:46 1993
  13.  
  14.  
  15.                                  Jeffrey D. Case
  16.                                SNMP Research, Inc.
  17.                         University of Tennessee, Knoxville
  18.                                  case@cs.utk.edu
  19.  
  20.  
  21.                                  Keith McCloghrie
  22.                                 Hughes LAN Systems
  23.                                    kzm@hls.com
  24.  
  25.  
  26.                                  Marshall T. Rose
  27.                            Dover Beach Consulting, Inc.
  28.                               mrose@dbc.mtview.ca.us
  29.  
  30.  
  31.                                Steven L. Waldbusser
  32.                             Carnegie Mellon University
  33.                             waldbusser@andrew.cmu.edu
  34.  
  35.  
  36.  
  37.  
  38.  
  39.                                Status of this Memo
  40.  
  41.           This document is an Internet Draft.  Internet Drafts are
  42.           working documents of the Internet Engineering Task Force
  43.           (IETF), its Areas, and its Working Groups.  Note that other
  44.           groups may also distribute working documents as Internet
  45.           Drafts.
  46.  
  47.           Internet Drafts are valid for a maximum of six months and may
  48.           be updated, replaced, or obsoleted by other documents at any
  49.           time.  It is inappropriate to use Internet Drafts as reference
  50.           material or to cite them other than as a "work in progress".
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.                               Expires July 26, 1993             [Page 1]
  59.  
  60.  
  61.  
  62.  
  63.  
  64.           Draft           Transport Mappings for SNMPv2           Jan 93
  65.  
  66.  
  67.           1.  Introduction
  68.  
  69.           A network management system contains: several (potentially
  70.           many) nodes, each with a processing entity, termed an agent,
  71.           which has access to management instrumentation; at least one
  72.           management station; and, a management protocol, used to convey
  73.           management information between the agents and management
  74.           stations.  Operations of the protocol are carried out under an
  75.           administrative framework which defines both authentication and
  76.           authorization policies.
  77.  
  78.           Network management stations execute management applications
  79.           which monitor and control network elements.  Network elements
  80.           are devices such as hosts, routers, terminal servers, etc.,
  81.           which are monitored and controlled through access to their
  82.           management information.
  83.  
  84.           The management protocol, version 2 of the Simple Network
  85.           Management Protocol [1], may be used over a variety of
  86.           protocol suites.  It is the purpose of this document to define
  87.           how the SNMPv2 maps onto an initial set of transport domains.
  88.           Other mappings may be defined in the future.
  89.  
  90.           Although several mappings are defined, the mapping onto UDP is
  91.           the preferred mapping.  As such, to provide for the greatest
  92.           level of interoperability, systems which choose to deploy
  93.           other mappings should also provide for proxy service to the
  94.           UDP mapping.
  95.  
  96.  
  97.           1.1.  A Note on Terminology
  98.  
  99.           For the purpose of exposition, the original Internet-standard
  100.           Network Management Framework, as described in RFCs 1155, 1157,
  101.           and 1212, is termed the SNMP version 1 framework (SNMPv1).
  102.           The current framework is termed the SNMP version 2 framework
  103.           (SNMPv2).
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.                               Expires July 26, 1993             [Page 2]
  118.  
  119.  
  120.  
  121.  
  122.  
  123.           Draft           Transport Mappings for SNMPv2           Jan 93
  124.  
  125.  
  126.           2.  Definitions
  127.  
  128.           SNMPv2-TM DEFINITIONS ::= BEGIN
  129.  
  130.           IMPORTS
  131.               snmpMappings
  132.                   FROM SNMPv2-SMI
  133.               TEXTUAL-CONVENTION
  134.                   FROM SNMPv2-TC;
  135.  
  136.  
  137.           snmpDomains    OBJECT IDENTIFIER ::= { snmpMappings 1 }
  138.           snmpProxys     OBJECT IDENTIFIER ::= { snmpMappings 2 }
  139.  
  140.  
  141.           -- SNMPv2 over UDP
  142.  
  143.           snmpUDPDomain  OBJECT IDENTIFIER ::= { snmpDomains 1 }
  144.           -- for a SnmpUDPAddress of length 6:
  145.           --
  146.           -- octets   contents        encoding
  147.           --  1-4     IP-address      network-byte order
  148.           --  5-6     UDP-port        network-byte order
  149.           --
  150.           SnmpUDPAddress ::= TEXTUAL-CONVENTION
  151.               DISPLAY-HINT "1d.1d.1d.1d/2d"
  152.               STATUS       current
  153.               DESCRIPTION
  154.                       "Represents a UDP address."                         |
  155.               SYNTAX       OCTET STRING (SIZE (6))
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.                               Expires July 26, 1993             [Page 3]
  177.  
  178.  
  179.  
  180.  
  181.  
  182.           Draft           Transport Mappings for SNMPv2           Jan 93
  183.  
  184.  
  185.           -- SNMPv2 over OSI
  186.  
  187.           snmpCLNSDomain OBJECT IDENTIFIER ::= { snmpDomains 2 }
  188.           snmpCONSDomain OBJECT IDENTIFIER ::= { snmpDomains 3 }
  189.           -- for a SnmpOSIAddress of length m:
  190.           --
  191.           -- octets   contents            encoding
  192.           --    1     length of NSAP      "n" as an unsigned-integer
  193.           --                                (either 0 or from 3 to 20)
  194.           -- 2..(n+1) NSAP                concrete binary representation
  195.           -- (n+2)..m TSEL                string of (up to 64) octets
  196.           --
  197.           SnmpOSIAddress ::= TEXTUAL-CONVENTION
  198.               DISPLAY-HINT "*1x:/1x:"
  199.               STATUS       current
  200.               DESCRIPTION
  201.                       "Represents an OSI transport-address."
  202.               SYNTAX       OCTET STRING (SIZE (1 | 4..85))
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.                               Expires July 26, 1993             [Page 4]
  236.  
  237.  
  238.  
  239.  
  240.  
  241.           Draft           Transport Mappings for SNMPv2           Jan 93
  242.  
  243.  
  244.           -- SNMPv2 over DDP
  245.  
  246.           snmpDDPDomain  OBJECT IDENTIFIER ::= { snmpDomains 4 }
  247.           -- for a SnmpNBPAddress of length m:
  248.           --
  249.           --    octets      contents          encoding                    |
  250.           --       1        length of object  "n" as an unsigned integer  |
  251.           --     2..(n+1)   object            string of (up to 32) octets |
  252.           --      n+2       length of type    "p" as an unsigned integer  |
  253.           -- (n+3)..(n+2+p) type              string of (up to 32) octets |
  254.           --     n+3+p      length of zone    "q" as an unsigned integer  |
  255.           -- (n+4+p)..m     zone              string of (up to 32) octets |
  256.           --
  257.           -- for comparison purposes, strings are case-insensitive        +
  258.           --                                                              +
  259.           -- all strings may contain any octet other than 255 (hex ff)    +
  260.           --                                                              +
  261.           SnmpNBPAddress ::= TEXTUAL-CONVENTION
  262.               STATUS       current
  263.               DESCRIPTION
  264.                       "Represents an NBP name."                           |
  265.               SYNTAX       OCTET STRING (SIZE (3..99))                    |
  266.  
  267.  
  268.           -- SNMPv2 over IPX
  269.  
  270.           snmpIPXDomain  OBJECT IDENTIFIER ::= { snmpDomains 5 }
  271.           -- for a SnmpIPXAddress of length 12:
  272.           --
  273.           -- octets   contents            encoding
  274.           --  1-4     network-number      network-byte order
  275.           --  5-10    physical-address    network-byte order
  276.           -- 11-12    socket-number       network-byte order
  277.           --
  278.           SnmpIPXAddress ::= TEXTUAL-CONVENTION
  279.               DISPLAY-HINT "4x.1x:1x:1x:1x:1x:1x.2d"
  280.               STATUS       current
  281.               DESCRIPTION
  282.                       "Represents an IPX address."                        |
  283.               SYNTAX       OCTET STRING (SIZE (12))
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.                               Expires July 26, 1993             [Page 5]
  295.  
  296.  
  297.  
  298.  
  299.  
  300.           Draft           Transport Mappings for SNMPv2           Jan 93
  301.  
  302.  
  303.           -- for proxy to community-based SNMPv1 (RFC 1157)
  304.  
  305.           rfc1157Proxy   OBJECT IDENTIFIER ::= { snmpProxys 1 }
  306.  
  307.           -- uses SnmpUDPAddress
  308.           rfc1157Domain  OBJECT IDENTIFIER ::= { rfc1157Proxy 1 }
  309.  
  310.           -- the community-based noAuth
  311.           rfc1157noAuth  OBJECT IDENTIFIER ::= { rfc1157Proxy 2 }
  312.  
  313.  
  314.           END
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.                               Expires July 26, 1993             [Page 6]
  354.  
  355.  
  356.  
  357.  
  358.  
  359.           Draft           Transport Mappings for SNMPv2           Jan 93
  360.  
  361.  
  362.           3.  SNMPv2 over UDP
  363.  
  364.           This is the preferred transport mapping.
  365.  
  366.  
  367.           3.1.  Serialization
  368.  
  369.           Each instance of a message is serialized onto a single UDP[2]
  370.           datagram, using the algorithm specified in Section 10.
  371.  
  372.  
  373.           3.2.  Well-known Values
  374.  
  375.           Although the partyTable gives transport addressing information
  376.           for an SNMPv2 party, it is suggested that administrators
  377.           configure their SNMPv2 entities acting in an agent role to
  378.           listen on UDP port 161.  Further, it is suggested that
  379.           notification sinks be configured to listen on UDP port 162.
  380.  
  381.           The partyTable also lists the maximum message size which a
  382.           SNMPv2 party is willing to accept.  This value must be at
  383.           least 484 octets.  Implementation of larger values is
  384.           encouraged whenever possible.
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.                               Expires July 26, 1993             [Page 7]
  413.  
  414.  
  415.  
  416.  
  417.  
  418.           Draft           Transport Mappings for SNMPv2           Jan 93
  419.  
  420.  
  421.           4.  SNMPv2 over OSI
  422.  
  423.           This is an optional transport mapping.
  424.  
  425.  
  426.           4.1.  Serialization
  427.  
  428.           Each instance of a message is serialized onto a single TSDU
  429.           [3,4] for the OSI Connectionless-mode Transport Service
  430.           (CLTS), using the algorithm specified in Section 10.
  431.  
  432.  
  433.           4.2.  Well-known Values
  434.  
  435.           Although the partyTable gives transport addressing information
  436.           for an SNMPv2 party, it is suggested that administrators
  437.           configure their SNMPv2 entities acting in an agent role to
  438.           listen on transport selector "snmp-l" (which consists of six
  439.           ASCII characters), when using a CL-mode network service to
  440.           realize the CLTS.  Further, it is suggested that notification
  441.           sinks be configured to listen on transport selector "snmpt-l"
  442.           (which consists of seven ASCII characters) when using a CL-
  443.           mode network service to realize the CLTS.  Similarly, when
  444.           using a CO-mode network service to realize the CLTS, the
  445.           suggested transport selectors are "snmp-o"  and "snmpt-o", for
  446.           agent and notification sink, respectively.
  447.  
  448.           The partyTable also lists the maximum message size which a
  449.           SNMPv2 party is willing to accept.  This value must be at
  450.           least 484 octets.  Implementation of larger values is
  451.           encouraged whenever possible.
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.                               Expires July 26, 1993             [Page 8]
  472.  
  473.  
  474.  
  475.  
  476.  
  477.           Draft           Transport Mappings for SNMPv2           Jan 93
  478.  
  479.  
  480.           5.  SNMPv2 over DDP
  481.  
  482.           This is an optional transport mapping.
  483.  
  484.  
  485.           5.1.  Serialization
  486.  
  487.           Each instance of a message is serialized onto a single DDP
  488.           datagram [5], using the algorithm specified in Section 10.
  489.  
  490.  
  491.           5.2.  Well-known Values
  492.  
  493.           SNMPv2 messages are sent using DDP protocol type 8.  SNMPv2
  494.           entities acting in an agent role listens on DDP socket number
  495.           8, whilst notification sinks listen on DDP socket number 9.     |
  496.  
  497.           Although the partyTable gives transport addressing information
  498.           for an SNMPv2 party, it is suggested that administrators
  499.           configure their SNMPv2 entities acting in an agent role to use
  500.           NBP type "SNMP Agent" (which consists of ten ASCII
  501.           characters), whilst notification sinks should be  configured
  502.           to use NBP type "SNMP Trap Handler" (which consists of
  503.           seventeen ASCII characters).
  504.  
  505.           The NBP name for agents and notification sinks should be        +
  506.           stable - NBP names should not change any more often than the    +
  507.           IP address of a typical TCP/IP node.  It is suggested that the  +
  508.           NBP name be stored in some form of stable storage.              +
  509.  
  510.           The partyTable also lists the maximum message size which a
  511.           SNMPv2 party is willing to accept.  This value must be at
  512.           least 484 octets.  Implementation of larger values is
  513.           encouraged whenever possible.
  514.  
  515.  
  516.           5.3.  Discussion of AppleTalk Addressing
  517.  
  518.           The AppleTalk protocol suite has certain features not manifest  +
  519.           in the TCP/IP suite.  AppleTalk's naming strategy and the       +
  520.           dynamic nature of address assignment can cause problems for     +
  521.           SNMPv2 entities that wish to manage AppleTalk networks.         +
  522.           TCP/IP nodes have an associated IP address which distinguishes  +
  523.           each from the other.  In contrast, AppleTalk nodes generally    +
  524.           have no such characteristic.  The network-level address, while  +
  525.  
  526.  
  527.  
  528.  
  529.  
  530.                               Expires July 26, 1993             [Page 9]
  531.  
  532.  
  533.  
  534.  
  535.  
  536.           Draft           Transport Mappings for SNMPv2           Jan 93
  537.  
  538.  
  539.           often relatively stable, can change at every reboot (or more    +
  540.           frequently).                                                    +
  541.  
  542.           Thus, when SNMPv2 is mapped over DDP, nodes are identified by   +
  543.           a "name", rather than by an "address".  Hence, all AppleTalk    +
  544.           nodes that implement this mapping are required to respond to    +
  545.           NBP lookups and confirms (e.g., implement the NBP protocol      +
  546.           stub), which guarantees that a mapping from NBP name to DDP     +
  547.           address will be possible.                                       +
  548.  
  549.           In determining the SNMP identity to register for an SNMPv2      +
  550.           entity, it is suggested that the SNMP identity be a name which  +
  551.           is associated with other network services offered by the        +
  552.           machine.                                                        +
  553.  
  554.           NBP lookups, which are used to map NBP names into DDP           +
  555.           addresses, can cause large amounts of network traffic as well   +
  556.           as consume CPU resources.  It is also the case that the         +
  557.           ability to perform an NBP lookup is sensitive to certain        +
  558.           network disruptions (such as zone table inconsistencies) which  +
  559.           would not prevent direct AppleTalk communications between two   +
  560.           SNMPv2 entities.                                                +
  561.  
  562.           Thus, it is recommended that NBP lookups be used infrequently,  +
  563.           primarily to create a cache of name-to-address mappings.        +
  564.           These cached mappings should then be used for any further SNMP  +
  565.           traffic.  It is recommended that SNMPv2 entities acting in a    +
  566.           manager role should maintain this cache between reboots.  This  +
  567.           caching can help minimize network traffic, reduce CPU load on   +
  568.           the network, and allow for (some amount of) network trouble     +
  569.           shooting when the basic name-to-address translation mechanism   +
  570.           is broken.                                                      +
  571.  
  572.  
  573.           5.3.1.  How to Acquire NBP names                                +
  574.  
  575.           An SNMPv2 entity acting in a manager role may have a pre-       +
  576.           configured list of names of "known" SNMPv2 entities acting in   +
  577.           an agent role.  Similarly, an SNMPv2 entity acting in a         +
  578.           manager role might interact with an operator.  Finally, an      +
  579.           SNMPv2 entity acting in a manager role might communicate with   +
  580.           all SNMPv2 entities acting in an agent role in a set of zones   +
  581.           or networks.                                                    +
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.                               Expires July 26, 1993            [Page 10]
  590.  
  591.  
  592.  
  593.  
  594.  
  595.           Draft           Transport Mappings for SNMPv2           Jan 93
  596.  
  597.  
  598.           5.3.2.  When to Turn NBP names into DDP addresses               +
  599.  
  600.           When an SNMPv2 entity uses a cache entry to address an SNMP     +
  601.           packet, it should attempt to confirm the validity mapping, if   +
  602.           the mapping hasn't been confirmed within the last T1 seconds.   +
  603.           This cache entry lifetime, T1, has a minimum, default value of  +
  604.           60 seconds, and should be configurable.                         +
  605.  
  606.           An SNMPv2 entity acting in a manager role may decide to prime   +
  607.           its cache of names prior to actually communicating with         +
  608.           another SNMPv2 entity.  In general, it is expected that such    +
  609.           an entity may want to keep certain mappings "more current"      +
  610.           than other mappings, e.g., those nodes which represent the      +
  611.           network infrastructure (e.g., routers) may be deemed "more      +
  612.           important".                                                     +
  613.  
  614.           Note that an SNMPv2 entity acting in a manager role should not  +
  615.           prime its entire cache upon initialization - rather, it should  +
  616.           attempt resolutions over an extended period of time (perhaps    +
  617.           in some pre-determined or configured priority order).  Each of  +
  618.           these resolutions might, in fact, be a wildcard lookup in a     +
  619.           given zone.                                                     +
  620.  
  621.           An SNMPv2 entity acting in an agent role must never prime its   +
  622.           cache.  Such an entity should do NBP lookups (or confirms)      +
  623.           only when it needs to send an SNMP trap.  When generating a     +
  624.           response, such an entity does not need to confirm a cache       +
  625.           entry.                                                          +
  626.  
  627.  
  628.           5.3.3.  How to Turn NBP names into DDP addresses                +
  629.  
  630.           If the only piece of information available is the NBP name,     +
  631.           then an NBP lookup should be performed to turn that name into   +
  632.           a DDP address.  However, if there is a piece of stale           +
  633.           information, it can be used as a hint to perform an NBP         +
  634.           confirm (which sends a unicast to the network address which is  +
  635.           presumed to be the target of the name lookup) to see if the     +
  636.           stale information is, in fact, still valid.                     +
  637.  
  638.           An NBP name to DDP address mapping can also be confirmed        +
  639.           implicitly using only SNMP transactions.  For example, an       +
  640.           SNMPv2 entity acting in a manager role issuing a retrieval      +
  641.           operation could also retrieve the relevant objects from the     +
  642.           NBP group [6] for the SNMPv2 entity acting in an agent role.    +
  643.  
  644.  
  645.  
  646.  
  647.  
  648.                               Expires July 26, 1993            [Page 11]
  649.  
  650.  
  651.  
  652.  
  653.  
  654.           Draft           Transport Mappings for SNMPv2           Jan 93
  655.  
  656.  
  657.           This information can then be correlated with the source DDP     +
  658.           address of the response.                                        +
  659.  
  660.  
  661.           5.3.4.  What if NBP is broken                                   +
  662.  
  663.           Under some circumstances, there may be connectivity between     +
  664.           two SNMPv2 entities, but the NBP mapping machinery may be       +
  665.           broken, e.g.,                                                   +
  666.  
  667.           o    the NBP FwdReq (forward NBP lookup onto local attached     +
  668.                network) mechanism might be broken at a router on the      +
  669.                other entity's network; or,                                +
  670.  
  671.           o    the NBP BrRq (NBP broadcast request) mechanism might be    +
  672.                broken at a router on the entity's own network; or,        +
  673.  
  674.           o    NBP might be broken on the other entity's node.            +
  675.  
  676.           An SNMPv2 entity acting in a manager role which is dedicated    +
  677.           to AppleTalk management might choose to alleviate some of       +
  678.           these failures by directly implementing the router portion of   +
  679.           NBP.  For example, such an entity might already know all the    +
  680.           zones on the AppleTalk internet and the networks on which each  +
  681.           zone appears.  Given an NBP lookup which fails, the entity      +
  682.           could send an NBP FwdReq to the network in which the agent was  +
  683.           last located.  If that failed, the station could then send an   +
  684.           NBP LkUp (NBP lookup packet) as a directed (DDP) multicast to   +
  685.           each network number on that network.  Of the above (single)     +
  686.           failures, this combined approach will solve the case where      +
  687.           either the local router's BrRq-to-FwdReq mechanism is broken    +
  688.           or the remote router's FwdReq-to-LkUp mechanism is broken.      +
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.                               Expires July 26, 1993            [Page 12]
  708.  
  709.  
  710.  
  711.  
  712.  
  713.           Draft           Transport Mappings for SNMPv2           Jan 93
  714.  
  715.  
  716.           6.  SNMPv2 over IPX
  717.  
  718.           This is an optional transport mapping.
  719.  
  720.  
  721.           6.1.  Serialization
  722.  
  723.           Each instance of a message is serialized onto a single IPX      |
  724.           datagram [7],                                                   |
  725.           using the algorithm specified in Section 10.
  726.  
  727.  
  728.           6.2.  Well-known Values
  729.  
  730.           SNMPv2 messages are sent using IPX packet type 4 (i.e., Packet  +
  731.           Exchange Packet).                                               +
  732.  
  733.           Although the partyTable gives transport addressing information
  734.           for an SNMPv2 party, it is suggested that administrators
  735.           configure their SNMPv2 entities acting in an agent role to
  736.           listen on IPX socket 36879 (900f hexadecimal).  Further, it is
  737.           suggested that notification sinks be configured to listen on
  738.           IPX socket 36880 (9010 hexadecimal)
  739.  
  740.           The partyTable also lists the maximum message size which a
  741.           SNMPv2 party is willing to accept.  This value must be at
  742.           least 546 octets.  Implementation of larger values is
  743.           encouraged whenever possible.
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.                               Expires July 26, 1993            [Page 13]
  767.  
  768.  
  769.  
  770.  
  771.  
  772.           Draft           Transport Mappings for SNMPv2           Jan 93
  773.  
  774.  
  775.           7.  Proxy to SNMPv1
  776.  
  777.           In order to provide proxy to community-based SNMP [8],          |
  778.           some definitions are necessary for both transport domains and
  779.           authentication protocols.
  780.  
  781.  
  782.           7.1.  Transport Domain: rfc1157Domain
  783.  
  784.           The transport domain, rfc1157Domain, indicates the transport
  785.           mapping for community-based SNMP messages defined in RFC 1157.
  786.           When a party's transport domain (partyTDomain) is
  787.           rfc1157Domain:
  788.  
  789.           (1)  the party's transport address (partyTAddress) shall be 6
  790.                octets long, the initial 4 octets containing the IP-
  791.                address in network-byte order, and the last two octets
  792.                containing the UDP port in network-byte order; and,
  793.  
  794.           (2)  the party's authentication protocol (partyAuthProtocol)
  795.                shall be rfc1157noAuth.
  796.  
  797.           When a proxy relationship identifies a proxy destination party
  798.           which has rfc1157Domain as its transport domain:
  799.  
  800.           (1)  the proxy source party (contextSrcPartyIndex) and proxy
  801.                context (contextProxyContext) components of the proxy
  802.                relationship are irrelevant; and,
  803.  
  804.           (2)  Section 3.1 of [9] specifies the behavior of the proxy     |
  805.                agent.                                                     |
  806.  
  807.  
  808.           7.2.  Authentication Algorithm: rfc1157noAuth
  809.  
  810.           A party's authentication protocol (partyAuthProtocol)
  811.           specifies the protocol and mechanism by which the party
  812.           authenticates the integrity and origin of the SNMPv1 or SNMPv2
  813.           PDUs it generates.  When a party's authentication protocol is
  814.           rfc1157noAuth:
  815.  
  816.           (1)  the party's public authentication key (partyAuthPublic),
  817.                clock (partyAuthClock), and lifetime (partyAuthLifetime)
  818.                are irrelevant; and,
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.                               Expires July 26, 1993            [Page 14]
  826.  
  827.  
  828.  
  829.  
  830.  
  831.           Draft           Transport Mappings for SNMPv2           Jan 93
  832.  
  833.  
  834.           (2)  the party's private authentication key
  835.                (partySecretsAuthPrivate) shall be used as the 1157
  836.                community for the proxy destination, and shall be at
  837.                least one octet in length.  (No maximum length is
  838.                specified.)
  839.  
  840.           Note that when setting the party's private authentication key,  |
  841.           the exclusive-OR semantics specified in [10] still apply.       |
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.                               Expires July 26, 1993            [Page 15]
  885.  
  886.  
  887.  
  888.  
  889.  
  890.           Draft           Transport Mappings for SNMPv2           Jan 93
  891.  
  892.  
  893.           8.  Serialization using the Basic Encoding Rules
  894.  
  895.           When the Basic Encoding Rules [11] are used for serialization:  |
  896.  
  897.           (1)  When encoding the length field, only the definite form is
  898.                used; use of the indefinite form encoding is prohibited.
  899.                Note that when using the definite-long form, it is
  900.                permissible to use more than the minimum number of length
  901.                octets necessary to encode the length field.
  902.  
  903.           (2)  When encoding the value field, the primitive form shall
  904.                be used for all simple types, i.e., INTEGER, OCTET
  905.                STRING, OBJECT IDENTIFIER, and BIT STRING (either
  906.                IMPLICIT or explicit).  The constructed form of encoding
  907.                shall be used only for structured types, i.e., a SEQUENCE
  908.                or an IMPLICIT SEQUENCE.
  909.  
  910.           (3)  When a BIT STRING is serialized, all named-bits are
  911.                transferred regardless of their truth-value.  Further, if
  912.                the number of named-bits is not an integral multiple of
  913.                eight, then the fewest number of additional zero-valued
  914.                bits are transferred so that an integral multiple of
  915.                eight bits is transferred.
  916.  
  917.           These restrictions apply to all aspects of ASN.1 encoding,
  918.           including the message wrappers, protocol data units, and the
  919.           data objects they contain.
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.                               Expires July 26, 1993            [Page 16]
  944.  
  945.  
  946.  
  947.  
  948.  
  949.           Draft           Transport Mappings for SNMPv2           Jan 93
  950.  
  951.  
  952.           8.1.  Usage Example
  953.  
  954.           As an example of applying the Basic Encoding Rules, suppose
  955.           one wanted to encode an instance of the GetBulkRequest-PDU
  956.           [1]:
  957.  
  958.                [5] IMPLICIT SEQUENCE {
  959.                        request-id      1414684022,
  960.                        non-repeaters   1,
  961.                        max-repetitions 2,
  962.                        variable-bindings {
  963.                            { name sysUpTime,
  964.                              value { unspecified NULL } },
  965.                            { name ipNetToMediaPhysAddress,
  966.                              value { unspecified NULL } },
  967.                            { name ipNetToMediaType,
  968.                              value { unspecified NULL } }
  969.                        }
  970.                    }
  971.  
  972.           Applying the BER, this would be encoded (in hexadecimal) as:
  973.  
  974.           [5] IMPLICIT SEQUENCE          a5 82 00 39
  975.               INTEGER                    02 04 52 54 5d 76
  976.               INTEGER                    02 01 01
  977.               INTEGER                    02 01 02
  978.               SEQUENCE                   30 2b
  979.                   SEQUENCE               30 0b
  980.                       OBJECT IDENTIFIER  06 07 2b 06 01 02 01 01 03
  981.                       NULL               05 00
  982.                   SEQUENCE               30 0d
  983.                       OBJECT IDENTIFIER  06 09 2b 06 01 02 01 04 16 01 02
  984.                       NULL               05 00
  985.                   SEQUENCE               30 0d
  986.                       OBJECT IDENTIFIER  06 09 2b 06 01 02 01 04 16 01 04
  987.                       NULL               05 00
  988.  
  989.           Note that the initial SEQUENCE is not encoded using the
  990.           minimum number of length octets.  (The first octet of the
  991.           length, 82, indicates that the length of the content is
  992.           encoded in the next two octets.)
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.                               Expires July 26, 1993            [Page 17]
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.           Draft           Transport Mappings for SNMPv2           Jan 93
  1009.  
  1010.  
  1011.           9.  Acknowledgements
  1012.  
  1013.           The UDP-based mapping is based, in part, on RFC 1157.
  1014.  
  1015.           The OSI-based mapping is based, in part, on RFC 1283.
  1016.  
  1017.           The DDP-based mapping is based, in part, on earlier work by
  1018.           Greg Minshall of Novell, Inc., and Mike Ritter of Apple
  1019.           Computer, Inc.
  1020.  
  1021.           The IPX-based mapping is based, in part, on RFC 1298.
  1022.  
  1023.           The section on proxy to community-based SNMP is based on
  1024.           earlier work that was based in part on a suggestion by
  1025.           Jonathan Biggar of Netlabs, Inc.
  1026.  
  1027.           Finally, the comments of the SNMP version 2 working group are
  1028.           gratefully acknowledged:
  1029.  
  1030.                Beth Adams, Network Management Forum
  1031.                Steve Alexander, INTERACTIVE Systems Corporation
  1032.                David Arneson, Cabletron Systems
  1033.                Toshiya Asaba
  1034.                Fred Baker, ACC
  1035.                Jim Barnes, Xylogics, Inc.
  1036.                Brian Bataille
  1037.                Andy Bierman, SynOptics Communications, Inc.
  1038.                Uri Blumenthal, IBM Corporation
  1039.                Fred Bohle, Interlink
  1040.                Jack Brown
  1041.                Theodore Brunner, Bellcore
  1042.                Stephen F. Bush, GE Information Services
  1043.                Jeffrey D. Case, University of Tennessee, Knoxville
  1044.                John Chang, IBM Corporation
  1045.                Szusin Chen, Sun Microsystems
  1046.                Robert Ching
  1047.                Chris Chiotasso, Ungermann-Bass
  1048.                Bobby A. Clay, NASA/Boeing
  1049.                John Cooke, Chipcom
  1050.                Tracy Cox, Bellcore
  1051.                Juan Cruz, Datability, Inc.
  1052.                David Cullerot, Cabletron Systems
  1053.                Cathy Cunningham, Microcom
  1054.                James R. (Chuck) Davin, Bellcore
  1055.                Michael Davis, Clearpoint
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.                               Expires July 26, 1993            [Page 18]
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  
  1067.           Draft           Transport Mappings for SNMPv2           Jan 93
  1068.  
  1069.  
  1070.                Mike Davison, FiberCom
  1071.                Cynthia DellaTorre, MITRE
  1072.                Taso N. Devetzis, Bellcore
  1073.                Manual Diaz, DAVID Systems, Inc.
  1074.                Jon Dreyer, Sun Microsystems
  1075.                David Engel, Optical Data Systems
  1076.                Mike Erlinger, Lexcel
  1077.                Roger Fajman, NIH
  1078.                Daniel Fauvarque, Sun Microsystems
  1079.                Karen Frisa, CMU
  1080.                Shari Galitzer, MITRE
  1081.                Shawn Gallagher, Digital Equipment Corporation
  1082.                Richard Graveman, Bellcore
  1083.                Maria Greene, Xyplex, Inc.
  1084.                Michel Guittet, Apple
  1085.                Robert Gutierrez, NASA
  1086.                Bill Hagerty, Cabletron Systems
  1087.                Gary W. Haney, Martin Marietta Energy Systems
  1088.                Patrick Hanil, Nokia Telecommunications
  1089.                Matt Hecht, SNMP Research, Inc.
  1090.                Edward A. Heiner, Jr., Synernetics Inc.
  1091.                Susan E. Hicks, Martin Marietta Energy Systems
  1092.                Geral Holzhauer, Apple
  1093.                John Hopprich, DAVID Systems, Inc.
  1094.                Jeff Hughes, Hewlett-Packard
  1095.                Robin Iddon, Axon Networks, Inc.
  1096.                David Itusak
  1097.                Kevin M. Jackson, Concord Communications, Inc.
  1098.                Ole J. Jacobsen, Interop Company
  1099.                Ronald Jacoby, Silicon Graphics, Inc.
  1100.                Satish Joshi, SynOptics Communications, Inc.
  1101.                Frank Kastenholz, FTP Software
  1102.                Mark Kepke, Hewlett-Packard
  1103.                Ken Key, SNMP Research, Inc.
  1104.                Zbiginew Kielczewski, Eicon
  1105.                Jongyeoi Kim
  1106.                Andrew Knutsen, The Santa Cruz Operation
  1107.                Michael L. Kornegay, VisiSoft
  1108.                Deirdre C. Kostik, Bellcore
  1109.                Cheryl Krupczak, Georgia Tech
  1110.                Mark S. Lewis, Telebit
  1111.                David Lin
  1112.                David Lindemulder, AT&T/NCR
  1113.                Ben Lisowski, Sprint
  1114.                David Liu, Bell-Northern Research
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.                               Expires July 26, 1993            [Page 19]
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.           Draft           Transport Mappings for SNMPv2           Jan 93
  1127.  
  1128.  
  1129.                John Lunny, The Wollongong Group
  1130.                Robert C. Lushbaugh Martin, Marietta Energy Systems
  1131.                Michael Luufer, BBN
  1132.                Carl Madison, Star-Tek, Inc.
  1133.                Keith McCloghrie, Hughes LAN Systems
  1134.                Evan McGinnis, 3Com Corporation
  1135.                Bill McKenzie, IBM Corporation
  1136.                Donna McMaster, SynOptics Communications, Inc.
  1137.                John Medicke, IBM Corporation
  1138.                Doug Miller, Telebit
  1139.                Dave Minnich, FiberCom
  1140.                Mohammad Mirhakkak, MITRE
  1141.                Rohit Mital, Protools
  1142.                George Mouradian, AT&T Bell Labs
  1143.                Patrick Mullaney, Cabletron Systems
  1144.                Dan Myers, 3Com Corporation
  1145.                Rina Nathaniel, Rad Network Devices Ltd.
  1146.                Hien V. Nguyen, Sprint
  1147.                Mo Nikain
  1148.                Tom Nisbet
  1149.                William B. Norton, MERIT
  1150.                Steve Onishi, Wellfleet Communications, Inc.
  1151.                David T. Perkins, SynOptics Communications, Inc.
  1152.                Carl Powell, BBN
  1153.                Ilan Raab, SynOptics Communications, Inc.
  1154.                Richard Ramons, AT&T
  1155.                Venkat D. Rangan, Metric Network Systems, Inc.
  1156.                Louise Reingold, Sprint
  1157.                Sam Roberts, Farallon Computing, Inc.
  1158.                Kary Robertson, Concord Communications, Inc.
  1159.                Dan Romascanu, Lannet Data Communications Ltd.
  1160.                Marshall T. Rose, Dover Beach Consulting, Inc.
  1161.                Shawn A. Routhier, Epilogue Technology Corporation
  1162.                Chris Rozman
  1163.                Asaf Rubissa, Fibronics
  1164.                Jon Saperia, Digital Equipment Corporation
  1165.                Michael Sapich
  1166.                Mike Scanlon, Interlan
  1167.                Sam Schaen, MITRE
  1168.                John Seligson, Ultra Network Technologies
  1169.                Paul A. Serice, Corporation for Open Systems
  1170.                Chris Shaw, Banyan Systems
  1171.                Timon Sloane
  1172.                Robert Snyder, Cisco Systems
  1173.                Joo Young Song
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.                               Expires July 26, 1993            [Page 20]
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.           Draft           Transport Mappings for SNMPv2           Jan 93
  1186.  
  1187.  
  1188.                Roy Spitier, Sprint
  1189.                Einar Stefferud, Network Management Associates
  1190.                John Stephens, Cayman Systems, Inc.
  1191.                Robert L. Stewart, Xyplex, Inc. (chair)
  1192.                Kaj Tesink, Bellcore
  1193.                Dean Throop, Data General
  1194.                Ahmet Tuncay, France Telecom-CNET
  1195.                Maurice Turcotte, Racal Datacom
  1196.                Warren Vik, INTERACTIVE Systems Corporation
  1197.                Yannis Viniotis
  1198.                Steven L. Waldbusser, Carnegie Mellon Universitty
  1199.                Timothy M. Walden, ACC
  1200.                Alice Wang, Sun Microsystems
  1201.                James Watt, Newbridge
  1202.                Luanne Waul, Timeplex
  1203.                Donald E. Westlake III, Digital Equipment Corporation
  1204.                Gerry White
  1205.                Bert Wijnen, IBM Corporation
  1206.                Peter Wilson, 3Com Corporation
  1207.                Steven Wong, Digital Equipment Corporation
  1208.                Randy Worzella, IBM Corporation
  1209.                Daniel Woycke, MITRE
  1210.                Honda Wu
  1211.                Jeff Yarnell, Protools
  1212.                Chris Young, Cabletron
  1213.                Kiho Yum, 3Com Corporation
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.                               Expires July 26, 1993            [Page 21]
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.           Draft           Transport Mappings for SNMPv2           Jan 93
  1245.  
  1246.  
  1247.           10.  References
  1248.  
  1249.           [1]  J.D. Case, K. McCloghrie, M.T. Rose, S.L. Waldbusser,
  1250.                Protocol Operations for version 2 of the Simple Network
  1251.                Management Protocol (SNMPv2).  Internet-Draft, (January
  1252.                26, 1993).
  1253.  
  1254.           [2]  J.B. Postel, User Datagram Protocol, Request for Comments
  1255.                768.  (August, 1980).
  1256.  
  1257.           [3]  Information processing systems - Open Systems
  1258.                Interconnection - Transport Service Definition,
  1259.                International Organization for Standardization.
  1260.                International Standard 8072, (June, 1986).
  1261.  
  1262.           [4]  Information processing systems - Open Systems
  1263.                Interconnection - Transport Service Definition - Addendum
  1264.                1: Connectionless-mode Transmission, International
  1265.                Organization for Standardization.  International Standard
  1266.                8072/AD 1, (December, 1986).
  1267.  
  1268.           [5]  G. Sidhu, R. Andrews, A. Oppenheimer, Inside AppleTalk
  1269.                (second edition).  Addison-Wesley, 1990.
  1270.  
  1271.           [6]  S.L. Waldbusser, AppleTalk Management Information Base.    +
  1272.                Request for Comments 1243, (July, 1991).                   +
  1273.  
  1274.           [7]                                                             +
  1275.                Network System Technical Interface Overview.  Novell,
  1276.                Inc, (June, 1989).
  1277.  
  1278.           [8]  J.D. Case, M.S. Fedor, M.L. Schoffstall, and J.R. Davin,
  1279.                Simple Network Management Protocol.  Request for Comments
  1280.                1157, (May, 1990).
  1281.  
  1282.           [9]  J.D. Case, K. McCloghrie, M.T. Rose, S.L. Waldbusser,
  1283.                Coexistence between version 1 and version 2 of the
  1284.                Internet-standard Network Management Framework.
  1285.                Internet-Draft, (January 26, 1993).
  1286.  
  1287.           [10] K. McCloghrie, J.R. Davin, J.M. Galvin, Party MIB for
  1288.                version 2 of the Simple Network Management Protocol
  1289.                (SNMPv2).  Internet-Draft, (January 26, 1993).
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.                               Expires July 26, 1993            [Page 22]
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.           Draft           Transport Mappings for SNMPv2           Jan 93
  1304.  
  1305.  
  1306.           [11] Information processing systems - Open Systems
  1307.                Interconnection - Specification of Basic Encoding Rules
  1308.                for Abstract Syntax Notation One (ASN.1), International
  1309.                Organization for Standardization.  International Standard
  1310.                8825, (December, 1987).
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.                               Expires July 26, 1993            [Page 23]
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.           Draft           Transport Mappings for SNMPv2           Jan 93
  1363.  
  1364.  
  1365.           Table of Contents
  1366.  
  1367.  
  1368.           1 Introduction ..........................................    2
  1369.           1.1 A Note on Terminology ...............................    2
  1370.           2 Definitions ...........................................    3
  1371.           3 SNMPv2 over UDP .......................................    7
  1372.           3.1 Serialization .......................................    7
  1373.           3.2 Well-known Values ...................................    7
  1374.           4 SNMPv2 over OSI .......................................    8
  1375.           4.1 Serialization .......................................    8
  1376.           4.2 Well-known Values ...................................    8
  1377.           5 SNMPv2 over DDP .......................................    9
  1378.           5.1 Serialization .......................................    9
  1379.           5.2 Well-known Values ...................................    9
  1380.           5.3 Discussion of AppleTalk Addressing ..................    9
  1381.           5.3.1 How to Acquire NBP names ..........................   10
  1382.           5.3.2 When to Turn NBP names into DDP addresses .........   11
  1383.           5.3.3 How to Turn NBP names into DDP addresses ..........   11
  1384.           5.3.4 What if NBP is broken .............................   12
  1385.           6 SNMPv2 over IPX .......................................   13
  1386.           6.1 Serialization .......................................   13
  1387.           6.2 Well-known Values ...................................   13
  1388.           7 Proxy to SNMPv1 .......................................   14
  1389.           7.1 Transport Domain: rfc1157Domain .....................   14
  1390.           7.2 Authentication Algorithm: rfc1157noAuth .............   14
  1391.           8 Serialization using the Basic Encoding Rules ..........   16
  1392.           8.1 Usage Example .......................................   17
  1393.           9 Acknowledgements ......................................   18
  1394.           10 References ...........................................   22
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.                               Expires July 26, 1993            [Page 24]
  1416.  
  1417.